package tds.model7.version2;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName BootStrap
 * @Description TODO（测试主程序)
 * @author tds
 * @Date 2019/2/20 9:46
 * @version 1.0.0
 */
public class BootStrap {
    public static void main(String[] args) {
        Person p = new Person("tds");

        TShirts tShirts = new TShirts();
        BigTrouser bigTrouser = new BigTrouser();

        //装饰过程
        tShirts.decorate(p);
        bigTrouser.decorate(tShirts);
        bigTrouser.show();
    }
}
